window.onload = function(){
	var wjx = document.getElementById("wjx");
	var is = wjx.getElementsByTagName("i");
	var fs = document.getElementById("fs");
	for(var i = 0; i < is.length; i++){
		is[i].index = i;
		is[i].onmouseover = function(){
			for(var j = 0; j <is.length; j++){
				if(j <= this.index){
					is[j].innerHTML = "★";
				}else if(j > this.index){
					is[j].innerHTML = "☆";
				}else if(this.index < 0){
					is[j].innerHTML = "☆";
				}
			}
			fs.innerHTML = parseInt(this.index + 1) * 20 + "分";
		}
	}
	
}
